package com.wanxi.javabean;

public class Test {
    public static void main(String[] args) {
//        CompanyJavaBean companyJavaBean = new CompanyJavaBean();
//        companyJavaBean.setLogo("aaa");
//        companyJavaBean.getLogo();
        DrinkWaterMachine drinkWaterMachine = new DrinkWaterMachine("美的", "红色", (byte) 5, "手动净水");
        System.out.println(drinkWaterMachine);
        if (drinkWaterMachine.getVolume() > 3) {
            System.out.println("容量大于3L");
        }

    }
}
